import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('@/views/reserva/junmp.vue'),//首页
    },
    {
      path: '/reservaIndex',
      name: 'reservaIndex',
      component: () => import('@/views/reserva/ReservaIndex.vue'),//排队叫号列表页
    },
    {
      path: '/businessDetail',
      name: 'businessDetail',
      component: () => import('@/views/reserva/BusinessDetail.vue'),//排队叫号详情页
    },
    {
      path: '/businessList',
      name: 'businessList',
      component: () => import('@/views/reserva/BusinessList.vue'),
    },
    {
      path: '/mainPage',
      name: 'mainPage',
      component: () => import('@/views/reserva/MainPage.vue'),//排队叫号首页
    },
    {
      path: '/register',
      name: 'register',
      component: () => import('@/views/reserva/Register.vue'),
    },
    {
      path: '/registerSure',
      name: 'registerSure',
      component: () => import('@/views/reserva/RegisterSure.vue'),//确认预约
    },
    {
      path: '/customer',
      name: 'customer',
      component: () => import('@/views/reserva/Customer.vue'),
    },
    {
      path: '/myAppoint',
      name: 'myAppoint',
      component: () => import('@/views/reserva/MyAppoint.vue'),//我的预约
    },
    {
      path: '/Myinsure',
      name: 'Myinsure',
      component: () => import('@/views/reserva/Myinsure.vue'),//我的保险
    },
    {
      path: '/PolicyDetails',
      name: 'PolicyDetails',
      component: () => import('@/views/reserva/PolicyDetails.vue'),//详情页
    },{
      path: '/AppMyinsure',
      name: 'AppMyinsure',
      component: () => import('@/views/reserva/AppMyinsure.vue'),//我的保险
    },
    {
      path: '/AppPolicyDetails',
      name: 'AppPolicyDetails',
      component: () => import('@/views/reserva/AppPolicyDetails.vue'),//详情页
    },
    {
      path: '/checkInfo',//车险 非车险验证
      name: 'checkInfo',
      component: () => import('@/views/myInfo/checkInfo.vue'),
    },
    {
      path: '/checkPhoneInfo',//注册页
      name: 'checkPhoneInfo',
      component: () => import('@/views/myInfo/checkPhoneInfo.vue'),
    },
    {
      path: '/idCardInfo',//三要素
      name: 'idCardInfo',
      component: () => import('@/views/myInfo/idCardInfo.vue'),
    },
    {
      path: '/personalCard',//我的卡片
      name: 'personalCard',
      component: () => import('@/views/myInfo/personalCard.vue'),
    },
    {
      path: '/personalMessage',//个人信息详情
      name: 'personalMessage',
      component: () => import('@/views/myInfo/personalMessage.vue'),
    },
    {
      path: '/personalMessageNew',//个人信息详情备份
      name: 'personalMessageNew',
      component: () => import('@/views/myInfo/personalMessageOld0510.vue'),
    },
    {
      path: '/inviteRegister',//个人信息详情
      name: 'inviteRegister',
      component: () => import('@/views/myInfo/inviteRegister.vue'),
    },
    {
      path: '/mailInfo',//邮箱详情
      name: 'mailInfo',
      component: () => import('@/views/myInfo/mailInfo.vue'),
    },
    {
      path: '/platformIndex',//信息披露
      name: 'platformIndex',
      component: () => import('@/views/singleProject/platformIndex.vue'),
    },
    {
      path: '/platformInfo',//信息披露-平台信息材料
      name: 'platformInfo',
      component: () => import('@/views/singleProject/platformInfo.vue'),
    },
    {
      path: '/platformAbility',//信息披露-偿还能力
      name: 'platformAbility',
      component: () => import('@/views/singleProject/platformAbility.vue'),
    },
    {
      path:'/face',//人脸识别
      name:'face',
      component:()=>import('@/views/myInfo/FaceAuthenAndiord.vue')
    },{
      path:'/downimg',//人脸识别
      name:'downimg',
      component:()=>import('@/views/reserva/downimg.vue')
    },

    {
      path:'/cailiao',//保险知识
      name:'cailiao',
      component:()=>import('@/views/insuranceKnowledge/cailiao.vue')
    },
    {
      path:'/insurance',//保险知识
      name:'insurance',
      component:()=>import('@/views/insuranceKnowledge/insurance.vue')
    },
    {
      path:'/insuranceImg',//保险知识
      name:'insuranceImg',
      component:()=>import('@/views/insuranceKnowledge/insuranceImg.vue')
    },
    {
      path: '/Queuing',//取号
      name: 'Queuing',
      component: () => import('@/views/reserva/Queuing.vue'),
    },
    {
      path:'/searchPolicy',//保单服务查询
      name:'SearchPolicy',
      component:()=>import('@/views/search/SearchPolicy.vue')
    },
    {
      path:'/partyHistory',//党史学习
      name:'partyHistory',
      component:()=>import('@/views/singleProject/partyHistory.vue')
    },
  ],
});